package com.bingbing.back.mapper;

import com.bingbing.back.po.RecruitPlan;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RecruitPlanMapper {
    // 返回该学校某年份的招生计划
    List<RecruitPlan> searchRecruitPlan(RecruitPlan recruitPlan);

    // 得到该学校某年份招生的总人数
    int getTotal(int schoolId, String planYear);
}
